import employees from '@/api/constant/employees'
import moment from 'moment'
export const myemplyees = function(value) {
  var obj = employees.hireType.find(item => {
    return item.id === +value
  })
  return obj ? obj.value : '未知'
}

export const timefilter = function(value) {
  return moment(value).format('YYYY-MM-DD')
}
